package xin.yangshuai.shardingsphere01.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import xin.yangshuai.shardingsphere01.model.ShardingsphereTestUser;
import xin.yangshuai.shardingsphere01.model.ShardingsphereTestUserExample;

public interface ShardingsphereTestUserMapper {
    long countByExample(ShardingsphereTestUserExample example);

    int deleteByExample(ShardingsphereTestUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShardingsphereTestUser record);

    int insertSelective(ShardingsphereTestUser record);

    List<ShardingsphereTestUser> selectByExample(ShardingsphereTestUserExample example);

    ShardingsphereTestUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShardingsphereTestUser record, @Param("example") ShardingsphereTestUserExample example);

    int updateByExample(@Param("record") ShardingsphereTestUser record, @Param("example") ShardingsphereTestUserExample example);

    int updateByPrimaryKeySelective(ShardingsphereTestUser record);

    int updateByPrimaryKey(ShardingsphereTestUser record);
}